home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d20 / ubm_102.arc / UBM.CFG < prev    next >
Text File  |  1990-12-30  |  8KB  |  285 lines

  1. ; UBM - UserBase Manager configuration file. Version 1.02
  2. ; Copyright (c) Joep Vullinghs, 1990-1991. All Rights Reserved.
  3. ;
  4. ; This file consists of two parts. The first part is the global part
  5. ; and the second contains definitions (see manual).
  6. ; I've included five different examples of definitions, if you need
  7. ; more definitions, have a look at EXAMPLES.DOC. That file contains
  8. ; more examples.
  9. ;
  10. USE HOMEPHONE
  11. ; use the HomePhone-field in the user-records to store a counter.
  12. ; Everytime UBM runs, it will decrease this number by 1. Useful for
  13. ; expiring memberships. ONLY if this statement is commented out, you
  14. ; can use the field to store a phonenumber.
  15.  
  16. USE DATAPHONE
  17. ; Similar USE HOMEPHONE, but for the DataPhone-field.
  18.  
  19. SYSOP Joep Vullinghs
  20. ; The name to put in FROM-field when writing a message to a user.
  21.  
  22. BOARD 1
  23. ; The messages UBM writes must be dropped in message area 1.
  24.  
  25. ;-------------------------------------------------------------------------
  26. ; This first example is the definition of the level-change for new users.
  27. ; Of course you can place as many definitions in this file as you like.
  28.  
  29. BEGIN
  30. ; a definition starts
  31.  
  32. FROM New user
  33. ; The name of the level before changing it.
  34.  
  35. TO Normal user
  36. ; The name of the level after changing it.
  37.  
  38. BEFORE
  39. ; Under the following conditions the level will be changed:
  40.  
  41.  LEVEL 5
  42. ; The user's level must be 5,
  43.  
  44.  FLAG A -------1
  45. ; the last A-flag must be set. The other A-flags do not mather.
  46.  
  47.  FLAG B --------
  48. ; all B-flags do not mather,
  49.  
  50.  FLAG C --0-----
  51. ; the third C-flag may not be set. The other flags do not matter,
  52.  
  53.  FLAG D 0------1
  54. ; the first D-flag may not bet set, the last must be set and the other flags
  55. ; do not matter.
  56.  
  57. AFTER
  58. ; following are the changes that must be made
  59.  
  60.  LEVEL 10
  61. ; The securitylevel must be raised to 10.
  62.  
  63.  FLAG A 1------0
  64. ; the first A-flag must be set, the last must be reset. No further changes
  65. ; should be made.
  66.  
  67.  FLAG B --------
  68.  FLAG C --------
  69.  FLAG D --------
  70. ; no changes are to be made to the B, C and D-flags.
  71.  
  72. MESSAGE
  73. ; the following text should be the message the user receives when his level
  74. ; had been altered.
  75. Welcome, ~firstname~!
  76.  
  77. You have been registered as a new user. Therefore, your level has been
  78. updated. The only strict rule on this BBS is that you are not allowed
  79. to shout at the sysop. Other rules will be made by me when I need them.
  80.  
  81. See ya around at this BBS!
  82.  
  83. Your sysop.
  84.  
  85. PS. Please, do remember that your password is ~password~.
  86. $END
  87. ; end of message.
  88.  
  89. SUBJECT Welcome!
  90. ; the subject of the message being written
  91.  
  92. END
  93. ;-------------------------------------------------------------------------
  94.  
  95. ; The following example is for warning paying members who's paying membership
  96. ; is about to expire.
  97.  
  98. BEGIN
  99. FROM Paying member
  100. TO Warned paying member
  101.  
  102. BEFORE
  103.  LEVEL 500
  104.  FLAG A 1-------
  105. ; the first A-flag must be set. The other flags do not mather.
  106.  
  107.  HOMEPHONE 14
  108. ; there must be two weeks left.
  109.  
  110. AFTER
  111. ; no level changes need be done.
  112. MESSAGE
  113. Dear ~firstname~,
  114.  
  115. Your membership will expire in two weeks. Make sure to pay $10 within a few
  116. days or your level will be put back.
  117.  
  118. I hope to see your check soon.
  119.  
  120. Your sysop.
  121. ; of course you may fill in some more userfriendly texts :-)
  122. $END
  123. ; end of message.
  124. SUBJECT Membership about to expire
  125. END
  126. ;-------------------------------------------------------------------------
  127.  
  128. ; The following example is for changing the level 500 to 10 when a counter
  129. ; (in the HomePhone-data field) reaches zero. In this example, 500 means
  130. ; the level of a paying member.
  131.  
  132. BEGIN
  133. FROM Paying member
  134. ; The name of the level before changing it.
  135.  
  136. TO Normal user
  137. ; The name of the level after changing it.
  138.  
  139. BEFORE
  140. ; Under the following conditions the level will be changed:
  141.  
  142.  LEVEL 500
  143. ; The user's level must be 500,
  144.  
  145.  FLAG A 1-------
  146.  FLAG B --------
  147.  FLAG C --------
  148.  FLAG D --------
  149. ; the first A-flag must be set. The other flags do not mather.
  150.  
  151.  HOMEPHONE 0
  152. ; the counter in HOMEPHONE must be 0. It's no use using this statement
  153. ; if USE HOMEPHONE is not used.
  154.  
  155. AFTER
  156. ; following are the changes that must be made
  157.  
  158.  LEVEL 10
  159. ; The securitylevel must be decreased to 10.
  160.  
  161.  FLAG A -0------
  162. ; the second A-flag must rest must be reset. No further flag-changes
  163. ; should be made.
  164.  
  165. MESSAGE
  166. ; the following text should be the message the user receives when his level
  167. ; had been altered.
  168. Dear member,
  169.  
  170. as the paying-membership-period has expired, your level has been decreased to
  171. 10. Prolonging your membership costs only $10 a year.
  172.  
  173. I hope to see your check soon.
  174.  
  175. Your sysop.
  176. $END
  177. ; end of message.
  178.  
  179. SUBJECT Membership expired
  180. END
  181. ;-------------------------------------------------------------------------
  182.  
  183. ; The following example is useful if you have foolish users who hang up in
  184. ; the middle of the program. In this example, no further action will be taken
  185. ; but you can of course punish your users by decrementing their level.
  186. ; If you want to use this example, you must create two questionnaires.
  187. ; The first is LOGON.Q-A which contains:
  188.  
  189. ; SETFLAG D1 ON
  190. ; QUIT
  191.  
  192. ; LOGON.Q-A must be executed automatically in your BBS after a user has
  193. ; entered. (For example in TOP.MNU).
  194.  
  195. ; The second questionnaire is LOGOFF.Q-A which contains:
  196.  
  197. ; SETFLAG D1 OFF
  198. ; QUIT
  199.  
  200. ; LOGOFF.Q-A must be executed automatically at every "legal" exit of your
  201. ; BBS (for example BYE.MNU).
  202.  
  203. ; Now D1 will be set if someone simply hung up instead of logging of.
  204. ; This will be used to write a message. Note that the user's level is not
  205. ; actually changed.
  206. BEGIN
  207. FROM Foolish normal user
  208. ; The name of the level before changing it.
  209.  
  210. TO Warned foolish user
  211. ; The name of the level after changing it.
  212.  
  213. BEFORE
  214. ; Under the following conditions the level will be changed:
  215.  
  216.  LEVEL 10
  217. ; The user's level must be 10. Not that users with any other level will
  218. ; not have a message in this example. (if other users must have a message
  219. ; too, comment this statement out).
  220.  
  221.  FLAG D 1-------
  222. ; only write message to naughty users.
  223.  
  224. AFTER
  225. ; following are the changes that must be made
  226.  
  227.  FLAG D 0-------
  228. ; You don't want to have messages being written every night until the user
  229. ; has logged of correctly.
  230.  
  231. MESSAGE
  232. ; the following text should be the message the user receives when his level
  233. ; had been altered.
  234. Dear member,
  235.  
  236. Don't you ever, ever just disconnect again when you are connected to this BBS!
  237. The only legal way to leave this BBS is by using the [!]-key in the mainmenu.
  238.  
  239. Your sysop.
  240. $END
  241. ; end of message.
  242.  
  243. SUBJECT Logging off
  244. END
  245.  
  246. ;-------------------------------------------------------------------------
  247. ; The last example is useful if you want to write a message to all users
  248. ; flag C2 is used to determine if a user already got a message.
  249. ; By using combinations of flags you can write hundreds of letters.
  250. ;
  251. BEGIN
  252. FROM User without C2-letter
  253. ; The name of the level before changing it.
  254.  
  255. TO User with C2-letter
  256. ; The name of the level after changing it.
  257.  
  258. BEFORE
  259. ; Under the following conditions the level will be changed:
  260.  
  261.  LEVEL 10
  262. ; The user's level must be 10. Paying and new members will not be bothered.
  263.  
  264.  FLAG C -0------
  265. ; No message should have been written yet.
  266.  
  267. AFTER
  268.  FLAG C -1------
  269. ; You don't want to have more than 1 message written.
  270.  
  271. MESSAGE
  272. ; the following text should be the message the user receives when his level
  273. ; had been altered.
  274. Hi,
  275.  
  276. Do you know that MicroWorks has now a new computer for only $199?
  277. More info in the sponsor-menu!
  278.  
  279. Your sysop.
  280. $END
  281. ; end of message.
  282. SUBJECT Sponsorinformation
  283. END
  284.  
  285. ; End of configuration-file.